add_entrypoint_object(
  clock
  SRCS
    clock.cpp
  HDRS
    ../clock.h
  DEPENDS
    libc.hdr.time_macros
    libc.hdr.types.struct_timespec
)

add_entrypoint_object(
  timespec_get
  SRCS
    timespec_get.cpp
  HDRS
    ../timespec_get.h
  DEPENDS
    libc.hdr.time_macros
    libc.hdr.types.struct_timespec
)

add_entrypoint_object(
  localtime
  SRCS
    localtime.cpp
    ../time_utils.cpp
  HDRS
    ../localtime.h
    ../time_utils.h
  DEPENDS
    libc.hdr.types.struct_tm
    libc.hdr.types.time_t
)

add_entrypoint_object(
  localtime_r
  SRCS
    localtime_r.cpp
    ../time_utils.cpp
  HDRS
    ../localtime.h
    ../time_utils.h
  DEPENDS
    libc.hdr.types.struct_tm
    libc.hdr.types.time_t
)
